include_rules = [
  "+components/translate/core/language_detection",
  "+content/public/renderer",

  "+gin",
  "+net/base/backoff_entry.h",
  "+net/base/net_errors.h",

  "+third_party/skia/include/core",
  "+third_party/cld_3",

  "+third_party/blink/public/common/associated_interfaces/associated_interface_provider.h",
  "+third_party/blink/public/common/associated_interfaces/associated_interface_registry.h",
  "+third_party/blink/public/common/tokens/tokens.h",
  "+third_party/blink/public/mojom/devtools/console_message.mojom.h",
  "+third_party/blink/public/mojom/loader/transferrable_url_loader.mojom.h",
  "+third_party/blink/public/mojom/frame/user_activation_notification_type.mojom.h",
  "+third_party/blink/public/mojom/service_worker/service_worker_registration.mojom.h",
  "+third_party/blink/public/platform",
  "+third_party/blink/public/strings/grit/blink_accessibility_strings.h",
  "+third_party/blink/public/web",
  "+third_party/zlib/google/compression_utils.h",

  "+tools/json_schema_compiler",

  "+ui/accessibility",

  "-v8",
  "+v8/include",

  "+storage/common/file_system",

  "+services/metrics/public/cpp",
  "+services/network/public",
  "+services/service_manager/public/cpp",
]

specific_include_rules = {
  ".*(test|test_util)\.(cc|h)$": [
    # Temporarily allowed testing includes.  See above.
    # TODO(devlin): Ideally, we'd remove these (or move the tests into
    # //chrome). See https://crbug.com/773004.
    "+chrome/test/base/chrome_render_view_test.h",
  ],
  "extension_throttle_manager.cc": [
    # For net::IsLocalhost.
    "+net/base/url_util.h",
  ],
  "extension_throttle_unittest.cc": [
    "+net/url_request/redirect_info.h",
  ],
  # Temporarily allow crash_key; see https://crbug.com/1034755
  "automation_ax_tree_wrapper.cc": [
    "+components/crash/core/common/crash_key.h",
  ]
}
